<!DOCTYPE html>
<html>
<head>
	<title>渝酒坊- 分类列表页</title>
	<meta charset="utf-8" />
	<meta name="author" content="m.wine22.com">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8"/>
	<link rel="stylesheet" type="text/css" href="/css/category.css" charset="UTF-8" />
</head>

<body id="body">
	<#assign title="商品分类">
	<#include "/common/header-user.html">
	<div class="new-ct">
		<div class="new-category">
			<ul class="new-category-lst">
				<#if catBrandMap??>
				<#list catBrandMap?keys as key>
					<li class="new-category-li">
					<a href="javascript:void(0)" id="1" class="new-category-a"><span class="icon"></span>${key}</a>
					<ul class="new-category2-lst" id="wine-cat-1" style="display:none">
						<#list catBrandMap[key] as item>
						<#if item_index % 3 = 0>
						<li class="new-category2-li">
						</#if>
							<a href="/ware/list.html?cid=${(item.catId)!""}&bid=${(item.brandId)!""}" class="new-category2-a"><span class="new-bar"></span>${(item.brandName)!""}</a>
						<#if (item_index gt 0 && item_index % 3 = 2) || !item_has_next>
						</li>
						</#if>
						</#list>
					</ul>
				</li>
				</#list>
				</#if>
			</ul>
		</div>
	</div>
	
	<#assign toolsBtmActivy="cat">
	<#include "/common/footor.html">
	
	<script src="/js/zepto/fx.js"></script>
	<script src="/js/zepto/fx_method.js"></script>
	<script language="javascript">
		$(function() {
			$("li.new-category-li>a").click(function() {
				var obj = $(this).parent().children().eq(1);
				if(obj.css('display') == 'none') {
					$(".new-category2-lst").hide();
					obj.fadeIn();
					$("li.new-category-li>a").removeClass("new-category-a new-on").addClass("new-category-a");
					$(this).addClass("new-category-a new-on");
				} else {
					obj.fadeOut();
					$("li.new-category-li>a").removeClass("new-category-a new-on").addClass("new-category-a");
					$(this).removeClass("new-category-a new-on").addClass("new-category-a");
				}
			})
		});
	</script>
</body>

</html>